<?php

function initXML($path){


$xmlDoc = new DOMDocument();
$xmlDoc->load($path."_Private/XML/initXML.xml");
   $CMSInitVar=$xmlDoc->getElementsByTagName('CMSInitVar');
   $copy=$CMSInitVar->item(0)->getElementsByTagName('CopyRight')->item(0)->childNodes->item(0)->nodeValue;
   $develop=$CMSInitVar->item(0)->getElementsByTagName('DevelopBy')->item(0)->childNodes->item(0)->nodeValue;
   $pagetitle=$CMSInitVar->item(0)->getElementsByTagName('PageTitle')->item(0)->childNodes->item(0)->nodeValue;


    define("CMSNAME",$copy);
    define("DEVELOPBY",$develop);
    define("PAGETITLE",$pagetitle);
}

?>